package com.yztc.love_travel.ui;

import com.yztc.love_travel.bean.BuyingBean;
import com.yztc.love_travel.bean.EatingBean;
import com.yztc.love_travel.bean.HotelBean;
import com.yztc.love_travel.constant.URLConstant;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by 周旭 on 2016/11/28.
 */

public interface RetrofitInterface {

/*    //获取宗教文化的bean的数据
    @GET(URLConstant.RegioCulture.URL_REGION_PATH)
    Observable<RegionCultureBean> gerFourTripBean(@QueryMap Map<String, Object> params);*/
    //获取历史文化的bean的数据
    @GET(URLConstant.Eating.URL_EATING_PATH)
    Observable<EatingBean> getEatingBean(@QueryMap Map<String, Object> params);

    @GET(URLConstant.Hotel.URL_HOTEL_PATH)
    Observable<HotelBean> getHotelBean(@QueryMap Map<String, Object> params);

    @GET(URLConstant.Hotel.URL_HOTEL_PATH)
    Observable<BuyingBean> getBuyingBean(@QueryMap Map<String, Object> params);
}
